package com.park.web.controller;

import com.park.web.base.baseOperation.BaseController;
import com.park.web.model.vo.OwnerVehicleInfoVo;
import com.park.web.service.pbaOwnerInfoService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*;

@RestController
@Api(value = "WEB - pbaOwnerVehicleInfoController", produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
@RequestMapping(value = "pbaOwnerVehicleInfo", produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
public class pbaOwnerInfoController extends BaseController {

    @Autowired
    pbaOwnerInfoService ipbaOwnerInfoService;

    @PostMapping("/saveOwnerInfo")
    @ApiOperation(value = "查询所有信息", notes = "查询所有信息")
    public void saveOwnerInfo(@RequestBody OwnerVehicleInfoVo entity) {
        ipbaOwnerInfoService.saveOwnerInfo(entity);
    }
}
